<%@ page contentType="text/html;charset=UTF-8" language="java"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<fieldset>
  <s:form action="personAction!add" method="post" style="width: 300px">
    <legend>添加用户信息</legend>
    <s:textfield key="label.personName" name="person.personName" />
    <s:select key="label.sex" name="person.sex" list="#{1:'男',0:'女'}" />
    <s:textfield key="label.birthdate" name="person.birthdate" title="yyyy-MM-dd" />
    <s:textarea key="label.address" name="person.address" />
    <s:submit value="添加" />
  </s:form>
</fieldset>
